import Mockjs from '../../config/config'
// 引入自定义的手机号假数据模板
import '../../utils/mobile';

let list = Mockjs.mock({
    'data|1-20':[
        {
            id: '@id',
            name: '@cname',
            mobile: '@phone',
            email: '@email'
        }
    ]
});

let table = Mockjs.mock('/admin/user/table','get',()=>{

    return {
       code: 200,
       data: {
         list: list.data
       }
   }
});

export default table;
